package com.hspedu.extent_;

public class Student {

    public String name;
    public int age;
    private double score;


    public void setScore(int score){
        this.score = score;
    }

    public void showInfo(){
        System.out.println("学生" + name + "的考试成绩是" + score);
    }


}
